package com.wonderful.eyepetizer

import androidx.compose.runtime.mutableIntStateOf
import androidx.compose.runtime.mutableStateOf
import androidx.lifecycle.ViewModel

/**
 * Desc:
 * @Author: wonderful
 * @Time: 2024/1/19 16:15
 */
class MainViewModel : ViewModel() {
    val tabs = mutableStateOf(
        listOf(
            TabItem(R.string.daily_paper, R.mipmap.tab_home_normal, R.mipmap.tab_home_select),
            TabItem(R.string.discover, R.mipmap.tab_discover_normal, R.mipmap.tab_discover_select),
            TabItem(R.string.hot, R.mipmap.tab_hot_normal, R.mipmap.tab_hot_select),
            TabItem(R.string.mine, R.mipmap.tab_mine_normal, R.mipmap.tab_mine_select),
        )
    )

    var selectedTabIndex = mutableIntStateOf(0)
}